package com.iot.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author 孟繁森
 * @date 2021/3/16 17:09
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableSwagger2
@ComponentScan(basePackages = {"com.iot.aliyun","com.iot.product"})
public class IotServiceProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(IotServiceProductApplication.class,args);
        System.out.println("===============================产品模块启动了===============================");
    }
}
